package com.example.elderlycare.controller.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

public class EvaluationRequestBody {
    @Data
    public static class addEvaluation {
        private Integer elderId;
        private Integer evaluateTypeId;
        private String place;
        private String evaluator;
        private String result;
        private Integer standardId;
        private String register;
    }

    @Data
    public static class updateEvaluation {
        private Integer id;
        private Integer elderId;
        private Integer evaluateTypeId;
        private String place;
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
        private Date date;
        private String evaluator;
        private String result;
        private Integer standardId;
        private String register;
    }
}
